@import './base.css';

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  font-weight: normal;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  /* body { */
    /* display: flex; */
    /* place-items: center; */
  /* } */

  /* #app { */
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    /* padding: 0 2rem; */
  /* } */
}

button {
  /* background-image: linear-gradient(to right, #FFD700, #FFA500);  */
  background-image: linear-gradient(to right, #edecec, #a9a9a9);
  border: none;  
  border-radius: 5px;  
}

button:active {  
  transform: translateY(1px); /* 轻微下移效果 */  
}

input {
  /* background-image: linear-gradient(to right, #FFD700, #FFA500);  */
  background-image: linear-gradient(to left, #edecec, #a9a9a9);
  border: none;
}
